package com.cloud.springbootcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @EnableEurekaClient 客户端启动类添加服务注册
 * @EnableDiscoveryClient 客户端启动类添加服务注册发现注解
 */
@EnableEurekaClient
@SpringBootApplication
public class ServiceProviderApplication {
    //提供者
    public static void main(String[] args ) {
        SpringApplication.run(ServiceProviderApplication.class);
    }
}
